package com.gzq.proxy.sgw.dynamic;

public class client {
    public static void main(String[] args) {
        ProxyFactory proxyFactory = new ProxyFactory(new Teacher());
        Object proxyObject = proxyFactory.getProxyObject();
        ((ITeacher)proxyObject).teach();

    }
}
